<html layout:decorator="public/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org">
<div layout:fragment="content">
  <!-- 数据表格 -->
  <table class="layui-hide" id="tableList" lay-filter="tableList"></table>
  
  <!-- 表格操作列 -->
  <script type="text/html" id="toolBar">
    <a class="layui-btn layui-btn-xs btnEdit" lay-event="edit" title="编辑"><i class="layui-icon layui-icon-edit"></i>编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs btnDel" lay-event="del" title="删除"><i class="layui-icon layui-icon-delete"></i>删除</a>
  </script>
  
  <!-- 状态 -->
  <script type="text/html" id="statusTpl">
    <input type="checkbox" name="status" value="{{ d.id }}" lay-skin="switch" lay-text="正常|禁用" lay-filter="status" {{ d.status == 1 ? 'checked' : '' }} >
  </script>
</div>
</html>